//
//  GameMatchModel.swift
//  d11
//
//  Created by rhonin on 2018/11/21.
//  Copyright © 2018年 Tech_001. All rights reserved.
//

import UIKit
import SwiftyJSON
class GameMatchModel: MCBaseModel {
    var id = ""
    var competitionName = ""
    var competitionTime = ""
    var title = ""
    var content = ""
    var tags = ""
    var stall = ""
    var teamAName = ""
    var teamBName = ""
    var aphoto = ""
    var bphoto = ""
    var superTitle = ""
    
    override func getValueWithJson(dic: JSON) -> Self {
        id = dic["id"].stringValue
        competitionName = dic["competitionName"].stringValue
        competitionTime = dic["competitionTime"].stringValue
        title = dic["title"].stringValue
        content = dic["content"].stringValue
        
        tags = dic["tags"].stringValue
        stall = dic["stall"].stringValue
        teamAName = dic["teamAName"].stringValue
        teamBName = dic["teamBName"].stringValue
        
        aphoto = dic["aphoto"].stringValue
        bphoto = dic["bphoto"].stringValue
        superTitle = dic["superTitle"].stringValue
     
        return self
    }
}
